//
//  LZFollowViewController.m
//  LZBS
//
//  Created by 郝庆 on 16/6/8.
//  Copyright © 2016年 haoqing. All rights reserved.
//

#import "LZFollowViewController.h"
#import "LZRecommendFollowViewController.h"
#import "LZLoginRegisterViewController.h"

@interface LZFollowViewController ()

@end

@implementation LZFollowViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setUpNav];
}

- (void)setUpNav
{
    self.navigationItem.title = @"我的关注";
    
    self.view.backgroundColor = LZCommonBgColor;
    
    //设置左边按钮
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem lz_itemWithImage:@"friendsRecommentIcon" highImage:@"friendsRecommentIcon-click" target:self action:@selector(followClick)];
}

- (void)followClick
{
    LZRecommendFollowViewController *recommedVc = [[LZRecommendFollowViewController alloc] init];
    [self.navigationController pushViewController:recommedVc animated:YES];
}

/**
 *  登录注册
 */
- (IBAction)loginRegister {
    LZLoginRegisterViewController *loginRegister = [[LZLoginRegisterViewController alloc] init];
    [self.navigationController presentViewController:loginRegister animated:YES completion:nil];
}

@end
